<?php
require 'include/global.php';
require './include/validate.php';
require_once './include/all_left.php';
require_once './include/advisory_db.php';
$smarty->compile_check = true;


$smarty->assign("status",$ALLSTATUS_TOSHOW[$_SESSION['status']]);
$smarty->assign("d_ate",@date("m/d/Y",$_SESSION[regtime]));

$recstatus = ($_SESSION['status'] == "Trial")?"Free":"Free";
//$empstatus = ($_SESSION['status'] == "Trial")?"Free":"$39.95/month";
$advstatus = ($_SESSION['status'] == "Trial")?"Free":"$11.95/month";
$empstatus = "Base on Agreement";

switch ($_SESSION[usertype]){
    case recruiter:
		$smarty->assign("fee",$recstatus);
   break;
    case employer:
		$smarty->assign("fee",$empstatus);
   break;
    case candidate:
		$smarty->assign("fee","Free");
   break;
    case advisor:
		$smarty->assign("fee",$advstatus);
   break;


}

$smarty->display('header.tpl');
$smarty->display('allleft.tpl');
$smarty->display('settings.tpl');
$smarty->display('allright.tpl');
$smarty->display('footer.tpl');
?>
